.PHONY:all
all:test receive

test:test.cc
	g++ -o $@ $^ -lpthread
receive:receive.cc
	g++ -o $@ $^

.PHONY:clean
clean:
	rm -rf receive test